# Contributor: Thiago Perrotta <tbperrotta@gmail.com>
# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
pkgname=autotrash
pkgver=0.4.4
pkgrel=0
pkgdesc="Tool to automatically purge old trashed files"
url="https://bneijt.nl/pr/autotrash/"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 py3-setuptools"
options="!check"  # no tests
source="https://files.pythonhosted.org/packages/source/a/autotrash/autotrash-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
sha512sums="
b39be5a5cf137dde74d104565a536ceb8208d0c900f0b900c94ae7320b5e65b788e90ffbaaa14f90810931997def2aabfe858a8a00e3b7d9252d6738c6036dc3  autotrash-0.4.4.tar.gz
"
